package cn.com.nes.site.service.agent.dto;

import cn.com.nes.site.service.product.dto.ProductDTO;
import cn.com.nes.site.service.system.region.dto.RegionDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("渠道授权详情-出参模型")
public class AgentGrantDetailDTO {

    @ApiModelProperty("授权ID")
    private Long grantId;

    @ApiModelProperty("授权类型")
    private Integer grantType;

    @ApiModelProperty("授权类型名称")
    private String grantTypeName;

    @ApiModelProperty("创建人ID")
    private Long gmtCreateId;

    @ApiModelProperty("创建人姓名")
    private String gmtCreateName;

    @ApiModelProperty("创建时间")
    private Date gmtCreate;

    @ApiModelProperty("授权开始时间")
    private Date startTime;

    @ApiModelProperty("授权结束时间")
    private Date endTime;

    @ApiModelProperty("剩余天数")
    private Long remainDays;

    @ApiModelProperty("授权产品列表")
    private List<ProductDTO> grantProductList;

    @ApiModelProperty("授权区域列表")
    private List<RegionDTO> grantRegionList;
}
